#ifndef TOWER_DEF
#define TOWER_DEF

#include "SDL/SDL.h"
#include "Tools.h"
#include "Monster.h"

typedef struct Bullet Bullet;
struct Bullet {
	Creep* cible;
	Coor coor;
	int activ;
};

typedef struct Tower Tower;
struct Tower {
	State action;
	int type;
	int type_bullet;
	int type_attack;
	int cost;
	int degat;
	int countdown;
	int range;
	int time;
	int index_cible;
	double splash;
	double speed;
	SDL_Surface* tower_image;
	SDL_Surface* bullet_image;
	MapCoor coor;
	Bullet* bullet;
	int index_bullet;
};

typedef struct TowerList TowerList;
struct TowerList {
	int towers;
	Tower field;
	Tower missile;
	Tower mortar;
};

#endif
